<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .one{
            line-height: 20px;
        }
        .two{
            line-height: 40px;
        }
    </style>
</head>
<body>
    <P class="one">1111</P>
    <P class="two">2222</P>
</body>
</html>